﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 分组用户信息表
    /// </summary>
    [Table("T_B_GroupingEmployeeInfo")]
    public class GroupingEmployeeInfo: BaseModel
    {
        /// <summary>
        /// 比赛项目ID
        /// </summary>
        public Guid CompetitionProjectId { get; set; }

        /// <summary>
        /// 赛事项目分组Id
        /// </summary>
        public Guid CompetitionGroupingId { get; set; }

        /// <summary>
        /// 参赛团队表Id
        /// </summary>
        public Guid? CompeteTeamId { get; set; }

        /// <summary>
        /// 参赛用户ID
        /// </summary>
        public Guid? EmployeeId { get; set; }

        /// <summary>
        /// 比赛号位
        /// </summary>
        public int? NoLocation { get; set; }
        /// <summary>
        /// 传感器
        /// </summary>
        [MaxLength(100)]
        public string Sensor { get; set; }
    }
}
